{% extends "wiki/base.html" %}
{% from "wiki/includes/sidebar_modules.html" import document_tools with context %}
{% set title = _('Remove contributor | {document}')|f(document=document.title) %}
{% set crumbs = [(document.get_absolute_url(), document.title),
                 (None, _('Remove Contributor'))] %}

{% block content %}
  <div class="grid_9">
    <article id="remove-member">
      <h1>{{ _('Are you sure you want to remove {user} from the document contributors?')|f(user=display_name(contributor)) }}</h1>
      <form action="" method="post">
        {% csrf_token %}
        <div class="form-actions">
          <input type="submit" class="btn" value="{{ _('Remove contributor') }}" />
          <a href="{{ url('wiki.document_revisions', document.slug) }}">{{ _('Cancel') }}</a>
        </div>
      </form>
    </article>
  </div>
{% endblock %}

{% block side_top %}
  {{ document_tools(document, document.parent, user, '', settings) }}
{% endblock %}
